package org.xielei.designpatterns.structural.facade;

import lombok.Setter;

/**
 * ConcreteFacadeOne
 * 具体外观
 *
 * @author xielei
 * @date 2020/8/3
 */
@Setter
public class ConcreteFacadeOne implements AbstractFacade{

    private SubSystemOne subSystemOne;

    private SubSystemThree subSystemThree;

    @Override
    public void show() {
        subSystemOne.create();
        subSystemThree.destroy();
    }
}
